﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace innovations.util.collections
{
    public class LimitedCapacityCollectionEventArgs<T> : EventArgs
    {
        public readonly T ChangedItem;
        public readonly ChangeType ChangeType;
        public readonly T ReplacedWith;

        public LimitedCapacityCollectionEventArgs(ChangeType change, T item,
            T replacement)
        {
            ChangeType = change;
            ChangedItem = item;
            ReplacedWith = replacement;
        }
    }
}
